package com.tydic.test;

public class TsetEquals {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Long l1 = new Long(1L);
		Long l2 = 1L;
		Long l3 = new Long(1);
		String s1 = "1";
		System.out.println(l1.equals(l2));
		System.out.println(l1.equals(l3));
		System.out.println(l1.toString().equals(s1));
		
		String str1 = "1";//null ""
		if (str1 != null) {
			if (str1.equals("")) {
				System.out.println("Yes Equals!");
			} else {
				System.out.println("No!");
			}	
		} else {
			System.out.println("str == NULL");
		}

	}

}
